package _1;

public class Orders {
	private long ordersId;
	private long uesrId;
	private String orderDate;
	private String payMode;
	private byte isPayed;
	private float totalPrice;

	public long getOrdersId() {
		return ordersId;
	}

	public void setOrdersId(long ordersId) {
		this.ordersId = ordersId;
	}

	public long getUesrId() {
		return uesrId;
	}

	public void setUesrId(long uesrId) {
		this.uesrId = uesrId;
	}

	public String getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	public String getPayMode() {
		return payMode;
	}

	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}

	public byte getIsPayed() {
		return isPayed;
	}

	public void setIsPayed(byte isPayed) {
		this.isPayed = isPayed;
	}

	public float getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Orders(long ordersId, long uesrId, String orderDate, String payMode, byte isPayed,
			float totalPrice) {
		// TODO Auto-generated constructor stub
		super();
		this.ordersId = ordersId;
		this.uesrId = uesrId;
		this.orderDate = orderDate;
		this.payMode = payMode;
		this.isPayed = isPayed;
		this.totalPrice = totalPrice;
	}

	public Orders() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return ordersId + "\t" + uesrId + "\t" + orderDate + "\t" + payMode + "\t" + isPayed + "\t" + totalPrice;
	}
}
